class SendErrorPayload{
  final String content;
  final String messageType;

  SendErrorPayload({
    required this.content,
    required this.messageType,
  });

  Map<String, dynamic> toJson() => {
    'content': content,
    'messageType': messageType,
  };

  factory SendErrorPayload.fromJson(Map<String, dynamic> json) {
    return SendErrorPayload(
      content: json['content'],
      messageType: json['messageType'],
    );
  }
}